

for row in range(9,0,-1):     # 倒序打印行（9,8,7...）
    for col in range (1,row + 1):
        res = row * col
        print('{0}*{1}={2:2d}'.format(col, row , res),end = " ")
    print()

